package com.softtown.modules.dapai.dao;

import com.softtown.common.dao.BaseDao;
import com.softtown.modules.dapai.dto.CompMacTypeDTO;
import com.softtown.modules.dapai.entity.CompMacTypeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CompMacTypeDao extends BaseDao<CompMacTypeEntity> {

    List<CompMacTypeDTO> getMacTypePageList(@Param("compId")Long compId,@Param("pram") String pram );

    CompMacTypeEntity getMacTypeById(@Param("compId")Long compId, @Param("id")Long id);

    void deleteMacType(@Param("compId")Long compId, @Param("id")Long id);

    List<CompMacTypeDTO> listForMacType(@Param("compId")Long compId,@Param("pram") String pram );
}
